import { IStore } from './types'
export default {
  clearCache: (state: IStore) => state.permission.clearCache,
  accountName: (state: IStore) => state.user.userInfo?.accountName,
  accountMobile: (state: IStore) => state.user.userInfo?.accountMobile,
  accountId: (state: IStore) => state.user.userInfo?.accountId,
  authorizationList: (state: IStore) => state.user.userInfo?.authorizationList || [],
  dictionary: (state: IStore) => state.dictionary.list || {},
  department: (state: IStore) => state.system.department || [],
  curAuthority: (state: IStore) => state.permission.curAuthority
}
